package com.byq.mm.abstractx.cluster.server;

public class ServerIdentifier {
	String deviceId;
	String clusterId;

	public ServerIdentifier(String deviceId, String clusterId) {
		super();
		this.deviceId = deviceId;
		this.clusterId = clusterId;
	}
	public String getDeviceId() {
		return deviceId;
	}
	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
	public String getClusterId() {
		return clusterId;
	}
	public void setClusterId(String clusterId) {
		this.clusterId = clusterId;
	}
	
	public String value(){
		return value(deviceId) + value(clusterId);
	}
	String value(String s){
		if(s == null)
			return "[]";
		return "[" + s + "]";
	}
	
}
